package com.yycx.common.base.event;

import com.yycx.common.base.entity.EntityMap;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author zyf
 */
@Getter
@Setter
public class FlymeEvent extends ApplicationEvent {

    private EntityMap entityMap;
    private String handlerName;

    public FlymeEvent(String handlerName, EntityMap params) {
        super(params);
        this.entityMap = params;
        this.handlerName = handlerName;
    }
}
